import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)
const routes = [
  {
    path: '/GuanJia',
    name: 'GuanJia',
    component: () => import('../views/GuanJia.vue')
  },
  {
    path: '/detail',
    name: 'detail',
    component: () => import('../views/detail.vue')
  },
  {
    path: '/accomplish',
    name: 'accomplish',
    component: () => import('../views/accomplish.vue')
  },
  {
    path: '/charge',
    name: 'charge',
    component: () => import('../views/charge.vue')
  },
  {
    path: '/code',
    name: 'code',
    component: () => import('../views/code.vue')
  },
  {
    path: '/QRcode2',
    name: 'QRcode2',
    component: () => import('../views/QRcode2.vue')
  },
  {
    path: '/QRcode',
    name: 'QRcode',
    component: () => import('../views/QRcode.vue')
  },
  {
    path: '/CduanCode',
    name: 'CduanCode',
    component: () => import('../views/CduanCode.vue')
  },
  {
    path: '/CduanQRcode',
    name: 'CduanQRcode',
    component: () => import('../views/CduanQRcode.vue')
  },
  {
    path: '/FangFeiTuiJian',
    name: 'FangFeiTuiJian',
    component: () => import('../views/FangFeiTuiJian.vue')
  },
  {
    path: '/FangFeiTuiJianXInXi',
    name: 'FangFeiTuiJianXInXi',
    component: () => import('../views/FangFeiTuiJianXInXi.vue')
  },
  {
    path: '/FangFeiChengGong',
    name: 'FangFeiChengGong',
    component: () => import('../views/FangFeiChengGong.vue')
  },
  {
    path: '/test',
    name: 'test',
    component: () => import('../views/test.vue')
  }

]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
